package com.sgb.kjwl.di.order;

import com.sgb.kjwl.view.ui.activity.self.order.EditOrderActivity;
import com.sgb.kjwl.viewmodel.self.EditOrderModel;
import com.swgk.core.base.di.Activity;

import dagger.Module;
import dagger.Provides;

@Module
public class EditOrderModule {
    private EditOrderActivity activity;

    public EditOrderModule(EditOrderActivity activity) {
        this.activity = activity;
    }

    @Provides
    @Activity
    EditOrderModel provideEditOrderModel() {
        return new EditOrderModel(activity);
    }
}
